package com.zimmur.app.mocolink.dao;

import com.zimmur.app.mocolink.domain.model.RefundOrderDetail;
import com.zimmur.app.mocolink.domain.model.RefundOrderDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RefundOrderDetailMapper {
    int countByExample(RefundOrderDetailExample example);

    int deleteByExample(RefundOrderDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RefundOrderDetail record);

    int insertSelective(RefundOrderDetail record);

    List<RefundOrderDetail> selectByExample(RefundOrderDetailExample example);

    RefundOrderDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RefundOrderDetail record, @Param("example") RefundOrderDetailExample example);

    int updateByExample(@Param("record") RefundOrderDetail record, @Param("example") RefundOrderDetailExample example);

    int updateByPrimaryKeySelective(RefundOrderDetail record);

    int updateByPrimaryKey(RefundOrderDetail record);
    /**
     * 批量添加售后单明细
     *@Description
     *@param refundOrderDetails
     *@return 
     *@author zcx
     *@Time 2017年10月16日 下午7:57:54
     */
    int batchInsert(@Param("list")List<RefundOrderDetail> refundOrderDetails);
}